﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using YAFTS.Contracts.Model;

namespace YAFTS.Contracts
{
	public interface IIndexStorage
	{
		IEnumerable<IWord> GetFileWords(string fileName);
		void DeleteFromIndex(IEnumerable<IWord> words, string fileName);
		void AddToIndex(IEnumerable<IWord> words, string fileName);
		IEnumerable<IFile> GetWordFiles(string word);
		void Clear();
		void RenameFile(string oldPath, string newPath);
	}
}
